package net.mujiwulian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * @Author: silence
 * @Description:
 * @Date:Create：in 2020/1/2 13:57
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "company")
public class Company implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "aptitude1_url")
    private String aptitude1Url;

    @TableField(value = "aptitude2_url")
    private String aptitude2Url;

    @TableField(value = "aptitude3_url")
    private String aptitude3Url;

    @TableField(value = "aptitude4_url")
    private String aptitude4Url;

    @TableField(value = "location_url")
    private String locationUrl;

    @TableField(value = "video")
    private String video;

    /**
     * 简介
     */
    @TableField(value = "synopsis")
    private String synopsis;

    /**
     * 介绍
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 业务
     */
    @TableField(value = "business")
    private String business;

    /**
     * 荣誉
     */
    @TableField(value = "honor")
    private String honor;

    /**
     * 理念
     */
    @TableField(value = "idea")
    private String idea;

    /**
     * 合作电话
     */
    @TableField(value = "cooperation_free_phone")
    private String cooperationFreePhone;

    @TableField(value = "oem_name")
    private String oemName;

    @TableField(value = "oem_phone")
    private String oemPhone;

    @TableField(value = "cooperation_phone")
    private String cooperationPhone;

    @TableField(value = "qq")
    private String qq;

    @TableField(value = "wx")
    private String wx;

    @TableField(value = "wb")
    private String wb;

    @TableField(value = "cooperation_address")
    private String cooperationAddress;

    @TableField(value = "contact_name1")
    private String contactName1;

    @TableField(value = "contact_name2")
    private String contactName2;

    @TableField(value = "contact_phone1")
    private String contactPhone1;

    @TableField(value = "contact_phone2")
    private String contactPhone2;

    @TableField(value = "contact_img_url")
    private String contactImgUrl;

    @TableField(value = "contact_account_url")
    private String contactAccountUrl;

    @TableField(value = "contact_company_url")
    private String contactCompanyUrl;

    @TableField(value = "contact_log_url")
    private String contactLogUrl;

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private MultipartFile aptitude1;
    @TableField(exist = false)
    private MultipartFile aptitude2;
    @TableField(exist = false)
    private MultipartFile aptitude3;
    @TableField(exist = false)
    private MultipartFile aptitude4;
    @TableField(exist = false)
    private MultipartFile location;
    @TableField(exist = false)
    private MultipartFile contactImg;
    @TableField(exist = false)
    private MultipartFile contactAccount;
    @TableField(exist = false)
    private MultipartFile contactCompany;
    @TableField(exist = false)
    private MultipartFile contactLog;
}
